﻿namespace Traffic.Entity;

/// <summary>
/// 用户积分记录
/// </summary>
public partial class UserBonusRecord
{
    public int Id { get; set; }

    /// <summary>
    /// 对应UserData.ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 对应OrderList.ID
    /// </summary>
    public int OrderId { get; set; }

    /// <summary>
    /// 消费金额
    /// </summary>
    public int Cost { get; set; }

    /// <summary>
    /// 积分
    /// </summary>
    public int Bonus { get; set; }

    /// <summary>
    /// 时间
    /// </summary>
    public DateTime CreateDate { get; set; }

    /// <summary>
    /// 状态  默认1正常  0：作废  1：正常
    /// </summary>
    public bool Status { get; set; }
}
